import React, {Component} from 'react';
import {TextInput} from 'react-native';

export default class TextInputComponent extends Component {
  render() {
    const {children, ...rest} = this.props;
    return <TextInput {...rest}>{children}</TextInput>;
  }
}
